<?php /* Smarty version 2.6.18, created on 2009-02-21 15:09:55
         compiled from admin/voicelist.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'url', 'admin/voicelist.html', 25, false),)), $this); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>视听词典</title>
<link href="templates/css/index.css" rel="stylesheet" type="text/css" />
<style type="text/css">
    #content .voice ul li{
        list-style-type:none;
    }
    #content .voice ul li span{
        margin-left:20px;
    }
</style>
</head>
<body>
    <div id="content">
    <?php $_from = $this->_tpl_vars['voices']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['listitem']):
?>
        <div class="voice">
            <ul>
                <li><span>id:<?php echo $this->_tpl_vars['listitem']['id']; ?>
</span><span>word:<?php echo $this->_tpl_vars['listitem']['Word']; ?>
</span><span>number:<?php echo $this->_tpl_vars['listitem']['No']; ?>
</span><span>voice_type:<?php echo $this->_tpl_vars['listitem']['Type']; ?>
</span></li>
                <li>
               <img src="" border=0 alt=""></a>
                </li>
                <li><a href="<?php echo $this->_plugins['function']['url'][0][0]->_pi_func_url(array('controller' => 'edit','action' => 'editpic','id' => $this->_tpl_vars['listitem']['id']), $this);?>
" target="_blank" >编辑</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="<?php echo $this->_plugins['function']['url'][0][0]->_pi_func_url(array('controller' => 'edit','action' => 'deletepic'), $this);?>
 id=$listitem.id">删除</a></li>
            </ul>
        </div>
    <?php endforeach; endif; unset($_from); ?>
    </div>
                <object id="player" type="audio/wav" data="<?php echo $this->_plugins['function']['url'][0][0]->_pi_func_url(array('controller' => 'edit','action' => 'audio'), $this);?>
" width="50" height="10">
                      <param name="src" value="" />
                      <param name="autostart" value="true" />
                      <param name="controller" value="false" />
                    </object>
 
</body>
</html>